Skip to main content

DescribeRegions

Description

call the DescribeRegions interface to query the regions you can use.

Request Method

POST

Request Path

/apsara/route/NAS/DescribeRegions

Request Parameters Common Parameters

NameLocationTypeRequiredSample valueDescription
PageSizeBODYintegerNo10the number of regions contained in each page during paging query. value range: 1~100 default value: 10
PageNumberBODYintegerNo1The page number of the list. starting value (default):1
regionIdBODYstringYesNo sample value for this parameter.region id
FileSystemTypeBODYstringNostandardfile system type. Value: standard (default): general-purpose NAS extreme: Extreme NAS
versionBODYstringNo2016-01-01version of api

Return data

NameTypeSample valueDescription
TotalCountinteger4the total number of regions queried.
PageSizeinteger2the number of regions contained in each page.
RequestIdstringA70BEE5D-76D3-49FB-B58F-1F398211****request ID.
PageNumberinteger1paging page number of the list.
RegionNo sample value for this parameter.No description for this parameter.
Regionsarray of regionNo sample value for this parameter.region information set.
RegionIdstringcn-hangzhouregion ID.
RegionEndpointstringnas.cn-hangzhou.aliyuncs.comthe service entry address of the corresponding region.
LocalNamestringEast China 1region name.

Example

Successful Response example

{
"TotalCount":"4",
"PageSize":"2",
"RequestId":"A70BEE5D-76D3-49FB-B58F-1F398211****",
"PageNumber":"1",
"Region":"",
"Regions":"",
"RegionId":"cn-hangzhou",
"RegionEndpoint":"nas.cn-hangzhou.aliyuncs.com",
"LocalName":"East China 1"
}

Failed Response example

{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}

}

title: ModifyAccessGroup

ModifyAccessGroup

Description

call the ModifyAccessGroup interface to modify the permission group.

Request Method

POST

Request Path

/apsara/route/NAS/ModifyAccessGroup

Request Parameters Common Parameters

NameLocationTypeRequiredSample valueDescription
DescriptionBODYstringNoclassic-testpermission group description. Limit: The default name is the same as the permission group, and the length is 2 to 128 English or Chinese characters. must start with upper and lower case letters or Chinese, and cannot be http:// and https://. can contain numbers, semicolons (:), underscores (_), or dashes (-).
regionIdBODYstringYesNo sample value for this parameter.region id
AccessGroupNameBODYstringYesclassic-testpermission group name. Limit: is 3 to 64 characters in length. must start with a lowercase letter, which can contain letters, numbers, underscores (_), or dashes (-).
FileSystemTypeBODYstringNostandardfile system type. default value: standard (general purpose NAS)
versionBODYstringNo2016-01-01version of api

Return data

NameTypeSample valueDescription
RequestIdstringED2AE737-9D50-4CA4-B0DA-31BD610C****request ID.

Example

Successful Response example

{
"RequestId":"ED2AE737-9D50-4CA4-B0DA-31BD610C****"
}

Failed Response example

{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}

}